package com.example.mapper;
import com.example.entity.Shangpinfenlei;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ShangpinfenleiMapper {

    List<Shangpinfenlei> selectAll(Shangpinfenlei shangpinfenlei);

    void insert(Shangpinfenlei shangpinfenlei);

    void updateById(Shangpinfenlei shangpinfenlei);

    void deleteById(Integer id);

    @Select("select * from shangpinfenlei where id = #{shangpinfenleiId}")
    Shangpinfenlei selectById(Integer shangpinfenleiId);
}
